Description
Filters the capability needed to run a given Site Health check.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php | 199 |
Parameters
Type | Name | Description |
---|---|---|
string | $default_capability | The default capability required for this check. |
string | $check | The Site Health check being performed. |
PHP Doc
/**
* Filters the capability needed to run a given Site Health check.
*
* @since 5.6.0
*
* @param string $default_capability The default capability required for this check.
* @param string $check The Site Health check being performed.
*/